package com.xky.log.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author keying.xia
 * @date 2017/11/29
 */
@RestController
public class Controller {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @GetMapping(value = "/hello")
    public String hello(){
        logger.info("进入hello方法");

        return "hello";
    }


}
